#define _CRT_SECURE_NO_WARNINGS
#include "seqlist.h"

void SLInit(SL* PS)
{
	PS->ps = NULL;
	PS->capacity = PS->count = 0;
}

void SL_Space(SL* PS)
{
	int new_capacity = PS->capacity;
	new_capacity = PS->capacity == 0 ?  4 :  PS->capacity * 2;
	PS->ps = (SLdata*)realloc(PS->ps, sizeof(SLdata) * new_capacity);
}

void SLPushFront(SL* PS, int data)
{

}
